{% extends 'base.html' %}

{% block title %}用户信息-{{user.username}}{% endblock title %}

{% block content %}
    <div class="row">
        <div class="col-2"></div>
        <div class="col-8" style="margin-top: 25px;">
            <div style="background-color: #fff; margin-top: 25px;">
                <h3 class="text-center">用户信息</h3>
                <ul class="list-group list-group-flush">
                    <li class="list-group-item"><b>用户名</b>: {{user.username}}</li>
                    <li class="list-group-item"><b>邮箱</b>: {{user.email}}</li>
                    <li class="list-group-item"><b>居住地址</b>: {{user.address}}</li>
                    <li class="list-group-item"><b>个人简介</b>: {{user.desc}}</li>
                    <li class="list-group-item"><b>注册时间</b>: {{user.join_time}}</li>
                </ul>
                
            </div>
            <!-- <button class="btn btn-primary" type="button" style="margin-top: 20px;" onclick="confirm('确认注销账户?')">注销账号</button> -->
        </div>
        <div class="col-2"></div>
    </div>
{% endblock content %}